GNUSH v10.01
 

February 19th , 2010

KPIT Cummins Infosystems Limited is releasing GNUSH v10.01 toolchain, a cross compiler tool for Renesas (formerly Hitachi and Mitsubishi) SH series of micro-controllers.

SALIENT FEATURES:

1. he GNUSH v10.01 toolchain is based on gcc-4.4.2 [released], binutils-2.20 [released], newlib-1.17.0 [released] and gdb-6.8.50 [dated 27th March 2010]..
2. The The latest patches are applied to gcc, binutils and newlib sources. Please visit the following link for the patches applied to the GNUSH toolchain:
http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=002004&id=78&lang=en    

3.

The GNUSH v10.01 ELF toolchain supports integration with the KPIT Eclipse.
Please visit the following link for information on latest releases of KPIT Eclipse:
http://www.kpitgnutools.com/releaseNotes.php

ABOUT GNUSH v10.01 :

Release Version: GNUSH v10.01
Release Date: February 19th, 2010
Platforms Supported: Red Hat GNU/Linux v8.0 or later (or compatible distribution)
Windows NT/2000/XP/Vista/Windows 7
Language: C, C99, C++
Targets: SH-1

 

SH-2

 

SH-2A

 

SH-2E

 

SH2-DSP

 

SH-3

 

SH-3E

 

SH3-DSP

 

SH-4

 

SH-4A

 

SH-4AL-DSP
Object File Format: ELF

 

CHANGES IN THIS RELEASE:

This section describes the enhancements made and the issues fixed in the v10.01 release.

GCC:

1.

The SH peripheral registers have strict access size requirements with some registers requiring a byte level access and other while others requiring word level access. The GNUSH compiler generates a word level access instruction "MOV.W" to access all the peripheral registers.

This bug has now been fixed. The peripheral registers can now be accessed as per their pre-defined access type. Users need to use "volatile" keyword while declaring the peripheral registers with strict access size requirement.

Please refer to the following FAQ for details,
http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=002003&id=430&lang=en
2. When the compiler switch "-fcall-saved-gbr" is used to save and restore the "GBR" register inside a function, the GNUSH toolchain generates an internal compiler error (ICE).
This bug has now been fixed.
3. For some test cases, the GNUSH v0903 toolchain generates incorrect prologue and epilogue for interrupt service routines.
This bug has now been fixed
4. The GNUSH toolchain did not generate the 'TST' instruction for comparison operation for immediate values greater than 127.
This bug has now been fixed.
5. Local variable value is not updated at correct memory location when viewed in GDBSH. This happens when an array of structure is passed as an argument of the function.
This bug has now been fixed.

HEW (For Windows OS only):

1.

Use of the Flash Development Tool (FDT) plug-ins under HEW is deprecated. Hence, users are advised to download the latest version of the FDT application and use it independently for Flash downloads.

2. In the HEW linker section wizard, the "KEEP" attribute was previously set to a group of sections  rather than the individual sections within that group.
This bug has now been fixed. Each individual section within the group is now generated with the "KEEP" attribute.
3. In HEW project generation up to v0903, the generated projects do not include the intrinsic header file. Instead, the user must navigate to the migration guide and download from there. In v10.01, the project generation in HEW is modified to include this header in all projects, so that users can use it with minimal work.

 

 KNOWN LIMITATIONS IN SH-ELF:

 

This section describes the known problems in this release. We intend to fix these issues in our future releases.

We occasionally release maintenance packs for critical bugs fixes.

Windows and GNU/Linux:

1. In newlib, the 'fmod' function fails with and without "-mrenesas" option for the following single precision targets,
a. SH2E
b. SH2A-Single-Only
c. SH3E
d. SH4-Single-Only (little endian and big endian)
e. SH4A-Single-Only (little endian and big endian)
2. The 'log10', 'ldexp' and 'frexp' functions of optimised libraries fail for SH4-Single-Only (little endian) and SH4A-Single-Only (little endian) targets.
3. Library Generator: Please visit the following link for the known issues and limitations related to this utility,
http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=002003&id=415&lang=en

 

HEW (For Windows OS only):

 

1. The following features are currently not supported in HEW:
a. Generate makefile
b. Support for 'convrenesaslib' utility

For other limitations pertaining to the single interface for the compiler, assembler, linker and library generator, please visit the following link,

http://www.kpitgnutools.com/phpmyfaq/index.php?aktion=artikel&rubrik=003001&id=445&lang=en

 

NOTE:

Windows and GNU/Linux:

1. 

The optimised libraries provided along with the Newlib libraries in the toolchain do not require a separate download.

2.

The optimised libraries ('liboptm.a' and 'liboptc.a') are not provided under GNU GPL. The source code of these optimised libraries is neither released nor available on request.

3.

The "libgen" utility is not provided under GNU GPL. The source code of the "libgen" utility is neither released nor available on request.

4. v10.01 ELF release onwards, the toolchain versioning system is changed. A decimal point is used to separate the year of toolchain release (e.g. 10 i.e., the last 2 digits of the year 2010) and the release number ( e.g., 01 i.e., 1st release of year 2010).

 

For free technical support please register at http://www.kpitgnutools.com/
For your feedback and suggestions please visit http://www.kpitgnutools.com/feedback.php